import Vue from "vue";
import App from "./App.vue";
import router from './router';
import store from './store';

//引入echarts
import echarts from "./utils/echarts5.js";
Vue.prototype.$echarts = echarts

//router前置守卫
import '@/permission'
//mock模拟数据拦截request
import './mock'
//全局引入ant全局变量，后续可修改主题用
import 'ant-design-vue/dist/antd.less';

//vue本地储存插件
import vue_ls from 'vue-ls'
import {vue_ls_config} from './defaultSettings' 
import './Initializer'
Vue.use(vue_ls,vue_ls_config.stroageOptions)

//初始化主题和token
import {Initializer} from './Initializer' 


Vue.config.productionTip = false;


new Vue({
  router,
  store,
  created:Initializer,
  render: (h) => h(App),
}).$mount("#app");
